package com.ruoyi.users.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 下载记录对象 u_download
 *
 * @author Amy
 * @date 2024-12-03
 */
public class UDownload extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 下载ID */
    @Excel(name = "下载ID")
    private Long id;

    /** 用户ID */
    private Long uId;

    /** 高级题ID */
    private Long hId;

    /** 基础题ID */
    private Long bId;

    /** 资料ID */
    private Long iId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setuId(Long uId)
    {
        this.uId = uId;
    }

    public Long getuId()
    {
        return uId;
    }
    public void sethId(Long hId)
    {
        this.hId = hId;
    }

    public Long gethId()
    {
        return hId;
    }
    public void setbId(Long bId)
    {
        this.bId = bId;
    }

    public Long getbId()
    {
        return bId;
    }
    public void setiId(Long iId)
    {
        this.iId = iId;
    }

    public Long getiId()
    {
        return iId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("uId", getuId())
                .append("hId", gethId())
                .append("bId", getbId())
                .append("iId", getiId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
